<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生</title>
</head>
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js">
</script>
<body>
<nav class="navbar navbar-default">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand glyphicon glyphicon-education" href="#"></a>
        </div>
        <p class="navbar-text">在线课堂系统</p>
        <p class="navbar-text">&nbsp;&nbsp;&nbsp;欢迎你</p>
        <ul class="nav navbar-nav navbar-right">
            <li><a>${studentName}</a></li>
            <li><a href="/student/logout">注销</a></li>
        </ul>
    </div><!-- /.container-fluid -->
</nav>
<div>
    <div class="left-container">
        <div class="row">
            <div class="col-md-1">
                <ul id="myTab" class="nav nav-tabs nav-pills nav-stacked nav-left">
                    <li>
                        <a href="#home" data-toggle="tab">个人信息</a>
                    </li>
                    <li>
                        <a href="#ios1" data-toggle="tab">课程查看</a>
                    </li>
                    <li>
                        <a href="#ios2" data-toggle="tab">考勤打卡</a>
                    </li>
                </ul>
            </div>
            <div class="col-md-11">
                <div id="myTabContent" class="tab-content">
                    <div class="tab-pane " id="home" >
                        <iframe src="${pageContext.request.contextPath}/student/toUpdate1" width="100%" height="100%">
                        </iframe>
                    </div>
                    <div class="tab-pane " id="ios1">
                        <iframe src="${pageContext.request.contextPath}/course/queryCourseByPage1" width="100%" height="100%">
                        </iframe>
                    </div>
                    <div class="tab-pane " id="ios2">
                        <iframe src="${pageContext.request.contextPath}/attendance/toAdd1" width="100%" height="100%">
                        </iframe>
                    </div>
                </div>
            </div>
        </div>
    </div>




</body>
<script>
    $(function () {
        $('#myTab li:eq(1) a').tab('show');
    });
</script>
</html>
